package com.lut.factory.abstract1;

/**
 * @author liuning
 * @ProjectName SingleModel
 * @time 2021/12/20 16:54
 */
//小米工厂
public class XiaomiFactory implements IProductFactory{
    @Override
    public IphoneProduct iphoneProduct() {
        return new XiaomiPhone();
    }

    @Override
    public IRouterProduct routerProduct() {
        return new XiaomiRouter();
    }
}
